package com.itheima.service;

import com.itheima.entity.Result;
import com.itheima.pojo.Member;

import java.util.List;
import java.util.Map;

public interface MemberService {
    //根据手机号查询会员
    public Member findByTelephone(String telephone);
    public void add(Member member);
    public List<Integer> findMemberCountByMonths(List<String> months);
    // 更新会员信息
    public void update(Member member);
    // 保存密码(邓昌)
    public Result savePwd(Map<String,String> map);
    public List<Map<String,Object>> findHistorySetmeal(Map<String,Object> map);
    // hsz
    List<Map<String, Object>> findMemberAge();
    List<Map<String, Object>> findSetmealIncomeByDate(String dBegin, String dEnd);
    Member findMemberById(Integer id);
}
